package com.tanhua.sso.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfo extends BasePojo implements Serializable {
    @TableId(type = IdType.INPUT)
    private Long id;
    private String nickname;
    private String avatar;
    private String tags;
    private String gender;
    private Integer age;
    private String education;
    private String city;
    private String birthday;
    private String coverPic;
    private String profession;
    private String income;
    private Integer marriage;

    //用户状态,1为正常，2为冻结
    @TableField(exist = false)
    private String userStatus = "1";
}
